package com.itheima.tist2;

public class TestStudent {
    public static void main(String[] args) {
        //stu是引用数据类型所以打印出来的是地址值
        Student stu= new Student("张三");
        System.out.println(stu.getName());
        stu.home();
    }
}
